.class public Lcom/example/m6wmr/GiftParticularActivity;
.super Landroid/app/Activity;
.source "GiftParticularActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;
    }
.end annotation


# instance fields
.field private allIntegral:Ljava/lang/String;

.field private closebtn:Landroid/widget/LinearLayout;

.field private context:Landroid/content/Context;

.field private gift_img:Landroid/widget/ImageView;

.field private gift_name:Landroid/widget/TextView;

.field private gift_particular_img:Landroid/widget/ImageView;

.field private gift_particular_messege:Landroid/widget/TextView;

.field private gift_price:Landroid/widget/TextView;

.field private giftid:Ljava/lang/String;

.field private giftscore:Ljava/lang/String;

.field private go_exchange:Landroid/widget/TextView;

.field private h:Landroid/os/Handler;

.field private loader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private m:Lmyapp/MyApp;

.field private top:Landroid/widget/LinearLayout;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 23
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 43
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->giftid:Ljava/lang/String;

    .line 44
    const-string v0, "0"

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->allIntegral:Ljava/lang/String;

    .line 45
    const-string v0, "0"

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->giftscore:Ljava/lang/String;

    .line 23
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 25
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/GiftParticularActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 43
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->giftid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/GiftParticularActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 45
    iput-object p1, p0, Lcom/example/m6wmr/GiftParticularActivity;->giftscore:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$11(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 28
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/GiftParticularActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 45
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->giftscore:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6wmr/GiftParticularActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 44
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->allIntegral:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 36
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_name:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/GiftParticularActivity;)Lcom/nostra13/universalimageloader/core/ImageLoader;
    .locals 1

    .prologue
    .line 30
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->loader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/GiftParticularActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 26
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 34
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_img:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 37
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_price:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/GiftParticularActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 40
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_particular_messege:Landroid/widget/TextView;

    return-object v0
.end method

.method private getHttpResource()V
    .locals 2

    .prologue
    .line 156
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/m6wmr/GiftParticularActivity$2;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/GiftParticularActivity$2;-><init>(Lcom/example/m6wmr/GiftParticularActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 186
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 191
    return-void
.end method

.method private initData()V
    .locals 2

    .prologue
    .line 144
    iput-object p0, p0, Lcom/example/m6wmr/GiftParticularActivity;->context:Landroid/content/Context;

    .line 145
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->context:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->m:Lmyapp/MyApp;

    .line 146
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->loader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 148
    invoke-virtual {p0}, Lcom/example/m6wmr/GiftParticularActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "giftid"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->giftid:Ljava/lang/String;

    .line 149
    invoke-virtual {p0}, Lcom/example/m6wmr/GiftParticularActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "allintegral"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->allIntegral:Ljava/lang/String;

    .line 151
    return-void
.end method

.method private initView()V
    .locals 2

    .prologue
    const/high16 v1, 0x7f0c0000

    .line 48
    invoke-virtual {p0, v1}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->top:Landroid/widget/LinearLayout;

    .line 51
    invoke-virtual {p0, v1}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->top:Landroid/widget/LinearLayout;

    .line 52
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 53
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->top:Landroid/widget/LinearLayout;

    const v1, 0x7f070026

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 56
    :cond_0
    const v0, 0x7f0c0001

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->closebtn:Landroid/widget/LinearLayout;

    .line 57
    const v0, 0x7f0c0091

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_img:Landroid/widget/ImageView;

    .line 59
    const v0, 0x7f0c0092

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_name:Landroid/widget/TextView;

    .line 60
    const v0, 0x7f0c0093

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_price:Landroid/widget/TextView;

    .line 61
    const v0, 0x7f0c0094

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->go_exchange:Landroid/widget/TextView;

    .line 63
    const v0, 0x7f0c0095

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_particular_messege:Landroid/widget/TextView;

    .line 64
    const v0, 0x7f0c0096

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->gift_particular_img:Landroid/widget/ImageView;

    .line 67
    return-void
.end method

.method private setonclicliseter()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 112
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->closebtn:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;-><init>(Lcom/example/m6wmr/GiftParticularActivity;Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 113
    iget-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->go_exchange:Landroid/widget/TextView;

    new-instance v1, Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;-><init>(Lcom/example/m6wmr/GiftParticularActivity;Lcom/example/m6wmr/GiftParticularActivity$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 115
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 72
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 73
    const v0, 0x7f030018

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/GiftParticularActivity;->setContentView(I)V

    .line 74
    invoke-direct {p0}, Lcom/example/m6wmr/GiftParticularActivity;->initData()V

    .line 75
    invoke-direct {p0}, Lcom/example/m6wmr/GiftParticularActivity;->initView()V

    .line 76
    invoke-direct {p0}, Lcom/example/m6wmr/GiftParticularActivity;->setonclicliseter()V

    .line 77
    invoke-direct {p0}, Lcom/example/m6wmr/GiftParticularActivity;->getHttpResource()V

    .line 79
    new-instance v0, Lcom/example/m6wmr/GiftParticularActivity$1;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/GiftParticularActivity$1;-><init>(Lcom/example/m6wmr/GiftParticularActivity;)V

    iput-object v0, p0, Lcom/example/m6wmr/GiftParticularActivity;->h:Landroid/os/Handler;

    .line 109
    return-void
.end method
